@extends('admin.layouts.admin')
@section('content')
    <div class="layui-form" lay-filter="LAY-select-forms" id="LAY-select" style="padding: 20px 30px 0 0;">
        <div class="layui-form-item">
            <label class="layui-form-label">添加分类</label>
            <div class="layui-input-block">
                    @foreach($input_type as $key => $value)
                        <input type="radio" name="input_type" value="{{$key}}" title="{{$value}}" @if($key == 'text') checked @endif>
                    @endforeach
            </div>
        </div>
        <div class="layui-form-item layui-hide">
            <input type="button" lay-submit lay-filter="LAY-select-forms" id="LAY-select-forms" value="确认">
        </div>
    </div>

@endsection
@section('scripts')
    <script>
        layui.config({
            base: '../' //静态资源所在路径
        }).extend({
            iconPicker: 'lib/extend/iconPicker'
        }).use([ 'table', 'form', 'layer' ,'iconPicker', 'util'], function(){

        });//use

    </script>
@stop

